package com.watson.value.config;

import com.watson.value.model.Person;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @Description: TODO
 * @Author watson
 * @Date 2022/7/13 09:23
 * @Version 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "demo")
public class DemoValue {
    private List<Person> list;

    public List<Person> getList() {
        return list;
    }

    public void setList(List<Person> list) {
        this.list = list;
    }
}
